package com.eco.fanliapp.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author jobob
 * @since 2019-12-25
 */
@Getter
@Setter
@Data
@TableName("goods_id_setup")//@TableName中的值对应着表名
public class GoodsIdSetup implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(value = "table_id", type = IdType.AUTO)
    private Integer tableId;

    /**
     * 商品id
     */
    private Long goodsId;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date updateTime;

    /**
     * 1启用，0未启用
     */
    private Integer enable;

    /**
     * 0未删除，1删除
     */
    private Integer deleted;


}
